package com.woniuxy.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.entity.Manager;
import com.woniuxy.mapper.ManagerMapper;
import com.woniuxy.service.ManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class ManagerServiceImpl extends ServiceImpl<ManagerMapper, Manager> implements ManagerService {
    @Autowired
    private ManagerMapper managerMapper;
    /**
     * 根据管理员名称获取管理员
     * @param account
     * @return
     * 魏炳豪
     */
    public Manager getByManagerAccount(String account) {
        return managerMapper.getByManagerAccount(account);
    }
}
